function showDemo(platfrom,platfrom_type) {
    if (platfrom_type == 1) {
        if (platfrom == 1) {
            showDemoQrcode("https://nilife.oss-cn-beijing.aliyuncs.com/wepage/20230412-121448-532.png","公众号文章演示");
        } else if(platfrom == 7){
            showDemoQrcode("https://nilife.oss-cn-beijing.aliyuncs.com/wepage/20230412-121751-530.png","视频号文章演示");
        } else {
            showDemoQrcode("https://nilife.oss-cn-beijing.aliyuncs.com/wepage/20230412-121911-378.png","公众号二维码演示");
        }
    } else if(platfrom_type == 2 || platfrom_type == 3){
        mviewToastr("info","当前暂无演示视频,请前往免费创建体验!");
    } else if(platfrom_type == 4 || platfrom_type == 5){
        if (platfrom == 2) {
            showDemoQrcode("https://nilife.oss-cn-beijing.aliyuncs.com/wepage/20230412-122025-699.png","跳转小程序演示");
        } else {
            showDemoQrcode("https://nilife.oss-cn-beijing.aliyuncs.com/wepage/20230412-122158-787.png","跳转微信小商店演示");
        }
    } else if(platfrom_type == 6){
        mviewToastr("info","当前暂无演示视频,请前往免费创建体验!");
    } else if(platfrom_type == 7){
        mviewToastr("info","当前暂无演示视频,请前往免费创建体验!");
    } else if(platfrom_type == 10){
        mviewToastr("info","当前暂无演示视频,请前往免费创建体验!");
    } else if(platfrom_type == 8){
        if (platfrom == 3) {
            showDemoQrcode("https://nilife.oss-cn-beijing.aliyuncs.com/wepage/20230412-122843-873.png","跳转个人二维码演示");
        } else {
            showDemoQrcode("https://nilife.oss-cn-beijing.aliyuncs.com/wepage/20230412-122748-544.png","跳转企微二维码演示");
        }
    } else if(platfrom_type == 9){
        showDemoQrcode("https://nilife.oss-cn-beijing.aliyuncs.com/wepage/20230412-122748-544.png","跳转企微二维码演示");
    } else if(platfrom_type == 11){
        showDemoQrcode("https://nilife.oss-cn-beijing.aliyuncs.com/wepage/20230412-122638-890.png","小程序码演示");
    } else if(platfrom_type == 12){
        showDemoQrcode("https://nilife.oss-cn-beijing.aliyuncs.com/wepage/20230412-121911-378.png","公众号二维码演示");
    } else {
        showDemoQrcode("https://nilife.oss-cn-beijing.aliyuncs.com/wepage/20230412-122748-544.png","跳转企微二维码演示");
    }
}

function showDemoQrcode(url,name) {
    $("#service_qrcode").attr("src",url);
    $("#service_text").text(name);
    $("#service_time").text("请使用微信扫描查看案例");
    $("#service_describe").text("案例仅展示基础内容,您可以根据您的业务自定义外链内容。");
    $('#serviceModal').modal('toggle');
}